<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
		<title>我要推广</title>
		<link
			href="<s:url value='/css/jquery-ui/jquery-ui-1.8.11.custom.css'/>"
			rel="stylesheet" type="text/css" />
		<link href="<s:url value='/css/jquery-ui/jquery.ui.spinner.css'/>"
			rel="stylesheet" type="text/css" />
		<link href="<s:url value='/css/jqgrid/ui.jqgrid.css'/>"
			rel="stylesheet" type="text/css" />
		<link href="<s:url value='/css/jqgrid/ui.multiselect.css'/>"
			rel="stylesheet" type="text/css" />
		<link href="<s:url value='/css/ipro.css'/>" rel="stylesheet"
			type="text/css" />
		<link href="<s:url value='/css/button/button.css'/>" rel="stylesheet"
			type="text/css" />

		<script src="<s:url value='/js/jquery/jquery-1.5.1.min.js'/>"></script>
		<script
			src="<s:url value='/js/jquery/jquery-ui-1.8.11.custom.min.js'/>"></script>
		<script src="<s:url value='/js/jquery/jquery.ui.spinner.min.js'/>"></script>

		<script src="<s:url value='/js/jqgrid/grid.locale-cn.js'/>"></script>
		<script src="<s:url value='/js/jqgrid/jquery.jqGrid.min.js'/>"></script>
		<script src="<s:url value='/js/jqgrid/ui.multiselect.js'/>"></script>

		<script src="<s:url value='/js/install/util.js'/>"></script>
		<script src="<s:url value='/js/install/ipro.js'/>"></script>
		<script src="<s:url value='/js/install/step1.js'/>"></script>
		<script src="<s:url value='/js/install/step2.js'/>"></script>
		<script src="<s:url value='/js/install/step3.js'/>"></script>
		<script src="<s:url value='/js/install/step4.js'/>"></script>

	</head>
	<body>
		<div style="margin: 0 auto">
			<div id="tabs">
				<ul>
					<li>
						<a href="#tab1" class="tab1">第1步:推广哪些宝贝</a>
					</li>
					<li>
						<a href="#tab2" class="tab2">第2步:设置样式</a>
					</li>
					<li>
						<a href="#tab3" class="tab3">第3步:安装到哪些宝贝上</a>
					</li>
					<li>
						<a href="#tab4" class="tab4">第4步:安装</a>
					</li>
				</ul>

				<div id="tab1">
					<%@ include file="../components/step1.jsp"%>
				</div>
				<div id="tab2">
					<%@ include file="../components/step2.jsp"%>
				</div>
				<div id="tab3">
					<%@ include file="../components/step3.jsp"%>
				</div>
				<div id="tab4">
					<%@ include file="../components/step4.jsp"%>
				</div>
			</div>
			<div id="accordionResizer">
				<div id="accordion">
					<h3>
						<a href="#">推广哪些宝贝</a>
					</h3>
					<ul id="sortable_step1_2">
						${session.ipro.to_be_promoted}
					</ul>
					<h3>
						<a href="#">安装到哪些宝贝上</a>
					</h3>
					<div id="promot_resp">
						${session.ipro.to_promote}
					</div>
				</div>
				<span class="ui-icon ui-icon-grip-dotted-horizontal"
					style="margin: 2px auto;"></span>
			</div>
			<!-- End accordionResizer -->
		</div>

		<div style='display: none'>
			<input type='hidden' id='hidden_intelligence_label_1'
				value='${session.ipro.intelligence_label_1}' />
			<input type='hidden' id='hidden_promote_radio'
				value='${session.ipro.promote_radio}' />
			<input type='hidden' id='hidden_buy_button'
				value='${session.ipro.buy_button}' />
			<input type='hidden' id='hidden_promote_style'
				value='${session.ipro.promote_style}' />
			<input type='hidden' id='hidden_price_label'
				value='${session.ipro.price_label}' />
			<input type='hidden' id='hidden_promote_title'
				value='${session.ipro.promote_title}' />
			<input type='hidden' id='hidden_num_per_line'
				value='${session.ipro.num_per_line}' />
			<input type='hidden' id='version_no'
				value='${session.session_user_subscribe.code}' />
			<input type='hidden' id='jsession_id' value='' />
			<input type='hidden' id='query_install_log_loaction'
				value='<s:url value='/jsp/query/query_install.jsp'/>' />
		</div>
	</body>
</html>



